package com.masterrabbit.sn.mapper;

import com.masterrabbit.sn.domain.OrderRecords;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author 13119
* @description 针对表【order_records】的数据库操作Mapper
* @createDate 2025-03-20 20:24:47
* @Entity com.masterrabbit.sn.domain.OrderRecords
*/
@Mapper
public interface OrderRecordsMapper extends BaseMapper<OrderRecords> {

    @Select("SELECT * FROM order_records WHERE order_number = #{orderId}")
    OrderRecords getOrderRecordsByOrderId(String orderId);
}




